#include <iostream>
#include <fstream>
#include <array>
#include <vector>
#include <chrono>
#include <iomanip>
#include <stack>
#include <queue>
#include <string>

#pragma once

using namespace std;
class MessageDecrypt
{
	string message;
	queue<int> code;
	stack<char> Bosse;
public:

	MessageDecrypt(void)
	{
	}

	~MessageDecrypt(void)
	{
	}

	string getMessage(){ return message; }

	void 

	void putMessageInStack()
	{
		
		int i = message.size()-1;
		int x = 0;
		while(x <= message.size()-1)
		{
			Bosse.push(message[x]);
			x++;
		}
	}

	void readMessageFromFile(string filename)
	{
		ifstream fin(filename);
		string str;
		int x = 0;
		if(fin.is_open())
		{
			while(!fin.eof())
			{
				if(!fin.eof())
				{
					getline(fin, str);
					message = message + str;
				}
			}
			fin.close();
		}
	}

	void readCodeFromFileAndPutInQueue(string filename)
	{
		ifstream fin(filename);
		int temp;
		int x = 0;
		if(fin.is_open())
		{
			while(!fin.eof())
			{
				fin >> temp;
				if(!fin.eof())
				{
					code.push(temp);
				}
			}
			fin.close();
		}
	}
};

